
#ifndef _MEMBER_BLABELITEM_H_
#define _MEMBER_BLABELITEM_H_

#include <BIcon>
#include <BImage>
#include <BLabelItem>
#include "ITextBlock.h"
#include "IAlignment.h"

namespace BWE
{
	class member_BLabelItem
	{
		friend class BLabelItem;
	public:
		member_BLabelItem(BLabelItem* labelItem);
		~member_BLabelItem();

		void adjustRects(const BFont* font);

		BLabelItem*			boss;
		BString				text;
		BColor				color;
		Graph				graph;
		BImageHolder		image;
		BSize				imageSize;

		bool				dirty;
		BSize				hintSize;
		ITextBlock			block;
		IAlignmentf			alignment;
	};
}

#endif
